package CharacterTraits 
{
	public class Name 
	{
		private var firstName:String;
		private var middleName:String;
		private var lastName:String;
		private var nickName:String;
		
		public function Name(first:String, last:String, middle:String = null) 
		{
			firstName = first;
			middleName = middle;
			lastName = last;
		}
		
		public function setFirstName(string:String):void
		{
			firstName = string;
		}
		
		public function setMiddleName(string:String):void
		{
			middleName = string;
		}
		
		public function setLastName(string:String):void
		{
			lastName = string;
		}
		
		public function setNickName(string:String):void
		{
			nickName = string;
		}
		
		public function getFirstName():String
		{
			return firstName;
		}
		
		public function getMiddleName():String
		{
			return middleName;
		}
		
		public function getLastName():String
		{
			return lastName;
		}
		
		public function getNickName():String
		{
			return nickName;
		}
		
	}

}